<include file="Public/header"/>
<include file="Public/menu"/>

<div class="page-content">
	<div class="page-header">
		<h1>
			角色管理
			<small>
				<i class="icon-double-angle-right"></i>
				配置节点
			</small>
		</h1>
	</div>
	<!-- /.page-header -->
	<!-- PAGE CONTENT BEGINS -->
	<div class="row">
		<div class="col-xs-12">
			<div class="row">
				<div class="tabbable">
					<ul class="nav nav-tabs" id="myTab">
						<li>
							<a href="http://localhost/vivo/Wolf/index.php/Admin/Role/index">
								<i class="green icon-home bigger-110"></i>
								角色列表
							</a>
						</li>
						<li>
							<a href="http://localhost/vivo/Wolf/index.php/Admin/Role/add">
								<i class="green icon-edit bigger-110"></i>
								添加角色
							</a>
						</li>
						<li class="active">
							<a>
								<i class="green icon-edit bigger-110"></i>
								配置节点
							</a>
						</li>
					</ul>
					<div class="tab-content">
						<form action="http://localhost/vivo/Wolf/index.php/Admin/Role/set" method="post" id="ajaxForm">
						<input type="hidden" name="id" value="1">
							<div class="module">
								<h3 class="header smaller lighter blue">
									<input name="nodeids[]" type="checkbox" class="ace" level="module" value="117">
									<span class="lbl"> 后台模块</span>
								</h3>
								<div class="row">
									<div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="155">
														<span class="lbl"> 职位管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="156">
															<span class="lbl"> 职位列表</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="157">
															<span class="lbl"> 修改职位</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="158">
															<span class="lbl"> 删除职位</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="159">
														<span class="lbl"> 公司管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="161">
															<span class="lbl"> 修改信息</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="160">
															<span class="lbl"> 公司列表</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="120">
														<span class="lbl"> 角色管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="146">
															<span class="lbl"> 配置节点</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="129">
															<span class="lbl"> 修改角色</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="128">
															<span class="lbl"> 删除角色</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="126">
															<span class="lbl"> 添加角色</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="125">
															<span class="lbl"> 角色列表</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="118">
														<span class="lbl"> 管理员管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="124">
															<span class="lbl"> 浏览用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="123">
															<span class="lbl"> 添加用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="130">
															<span class="lbl"> 删除用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="131">
															<span class="lbl"> 修改用户</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="132">
														<span class="lbl"> 分类管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="149">
															<span class="lbl"> 修改分类</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="148">
															<span class="lbl"> 删除分类</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="147">
															<span class="lbl"> 添加分类</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="134">
															<span class="lbl"> 浏览分类</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="142">
														<span class="lbl"> 用户管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="153">
															<span class="lbl"> 修改用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="152">
															<span class="lbl"> 删除用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="151">
															<span class="lbl"> 添加用户</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="150">
															<span class="lbl"> 用户列表</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="141">
														<span class="lbl"> 新闻管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="166">
															<span class="lbl"> 上传图片</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="165">
															<span class="lbl"> 删除新闻</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="164">
															<span class="lbl"> 编辑新闻</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="163">
															<span class="lbl"> 添加新闻</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="162">
															<span class="lbl"> 浏览新闻</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="136">
														<span class="lbl"> 友情链接管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="137">
															<span class="lbl"> 友情链接列表</span>
														</label>
													</div>												</div>
											</div><div class="col-xs-2 ">
												<div class="control-group">
													<label class="control-label bolder blue">
														<input name="nodeids[]" type="checkbox" class="ace" level="controller" value="133">
														<span class="lbl"> 标签管理</span>
													</label>
													<div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="145">
															<span class="lbl"> 编辑标签</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="144">
															<span class="lbl"> 删除标签</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="143">
															<span class="lbl"> 添加标签</span>
														</label>
													</div><div class="checkbox">
														<label>
															<input name="nodeids[]" type="checkbox" class="ace" level="action" value="135">
															<span class="lbl"> 浏览标签</span>
														</label>
													</div>												</div>
											</div>									</div>							</div>							<hr>
							<div class="center">
								<button class="btn btn-info " type="submit">
									<i class="icon-ok bigger-110"></i>
									保存配置
								</button>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- PAGE CONTENT END -->
</div>
</div>
</div>
<!-- inline scripts related to this page -->
<script type="text/javascript">
	seajs.use(['$'],function($){
		$("input[level=module]").change(function(){
			$(this).parents("div.module").find("input[type=checkbox]").prop("checked",      $(this).prop("checked"));
		})
		$("input[level=controller]").change(function(){
			$(this).parents("div.control-group").find("input[type=checkbox]").prop("checked",      $(this).prop("checked"));
			$(this).parents("div.module").find("input[level=module]").prop("checked",true);
		})
		$("input[level=action]").change(function(){
			$(this).parents("div.module").find("input[level=module]").prop("checked",true);
			$(this).parents("div.control-group").find("input[level=controller]").prop("checked",true);
		})
	})
</script>
<include file="Public/footer"/>